package com.trade.module.daq.entity;

import com.trade.module.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Class Description: 表信息实体类
 *
 * @Version v1.0 2017/6/17 12:13
 * @JDK version 1.8.0_51
 * @Author zfb
 */
@Entity
@Table(name = "daq_table_info")
public class TableInfo extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 7243207053702449278L;

    @Column(
            name = "ename",
            length = 32
    )
    private String ename;//	表英文名称
    @Column(
            name = "cname",
            length = 32
    )
    private String cname;//	表中文名称
    @Column(
            name = "remark",
            length = 120
    )
    private String remark;//	备注
    @Column(
            name = "if_use",
            length = 2
    )
    private String ifUse;//	使用状态(Y,N)
    @Column(
            name = "system_id",
            length = 64
    )
    private String systemId;//	关联系统ＩＤ
    @Column(
            name = "business",
            length = 64
    )
    private String business;//	业务分类
    @Column(
            name = "reserve",
            length = 22)
    private String reserve;//	预留字段
    @Column(
            name = "surperiod",
            length = 22
    )
    private String surperiod;//	生存周期
    @Column(
            name="info_type",
            length = 22
    )
    private String infoType;//	信息实体分类
    @Column(
            name="keyword",
            length = 50)
    private String keyword;//	关键字
    @Column(
            name = "summary",
            length = 50)
    private String summary;//	资源摘要
    @Column(
            name = "authorize_way",
            length = 20)
    private String authorizeWay;//	授权方式（1：公开,2：共享，3：内部）
    @Column(
            name = "feature",
            length = 20)
    private String feature;//	要素模型
    @Column(
            name = "exist_table",
            length = 20)
    private String existTable;//	使用状态(Y,N)
    @Column(
            name = "rel_table_id",
            length = 80)
    private String relTableId;   //关联表ID

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIfUse() {
        return ifUse;
    }

    public void setIfUse(String ifUse) {
        this.ifUse = ifUse;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }

    public String getSurperiod() {
        return surperiod;
    }

    public void setSurperiod(String surperiod) {
        this.surperiod = surperiod;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getAuthorizeWay() {
        return authorizeWay;
    }

    public void setAuthorizeWay(String authorizeWay) {
        this.authorizeWay = authorizeWay;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getExistTable() {
        return existTable;
    }

    public void setExistTable(String existTable) {
        this.existTable = existTable;
    }

    public String getRelTableId() {
        return relTableId;
    }

    public void setRelTableId(String relTableId) {
        this.relTableId = relTableId;
    }
}
